package top.yohann.study.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.PropertySource;
import top.yohann.study.common.util.Logger;

/**
 * @author Yeung Wah
 * @since 2021/11/21
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"top.yohann.study.common"})
@PropertySource(value = "classpath:config.properties", encoding = "utf-8")
public class Application {
    public static void main(String[] args) {
        Logger.applicationLog(SpringApplication.run(Application.class, args));
    }
}